package com.hurr.service;

import java.util.Collection;

import com.hurr.bo.Bank;

/**
 * Service for Bank logic
 * 
 * @author Fernando Perelli
 * 
 */
public interface BankService {

	/**
	 * Save method
	 * 
	 * @param bank
	 * @return Bank
	 */
	public Bank save(Bank bank);

	/**
	 * Update Method
	 * 
	 * @param bank
	 */
	public void update(Bank bank);

	/**
	 * Delete Method
	 * 
	 * @param bank
	 */
	public void delete(Bank bank);

	/**
	 * Find By Id method
	 * 
	 * @param id
	 * @return Bank
	 */
	public Bank findById(Long id);

	/**
	 * Find All method
	 * 
	 * @return Collection<Bank>
	 */
	public Collection<Bank> findAll();
}
